package com.atguigu.spzx.model.entity.order;

import com.atguigu.spzx.model.entity.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderStatistics extends BaseEntity {
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date orderDate;
    private BigDecimal totalAmount;
    private Integer totalNum;
}
